package com.ruoyi.hotel.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.hotel.domain.HotelCheckHouseRecord;
import com.ruoyi.hotel.domain.vo.DeleteHotelCheckRecord;
import com.ruoyi.hotel.domain.vo.HotelCheckRecord;

/**
 * 入住记录Service接口
 *
 * @author sunye
 * @date 2024-11-15
 */
public interface IHotelCheckHouseRecordService extends IService<HotelCheckHouseRecord>
{
    /**
     * 查询入住记录
     *
     * @param recordId 入住记录主键
     * @return 入住记录
     */
    public HotelCheckHouseRecord selectHotelCheckHouseRecordByRecordId(Long recordId);

    /**
     * 查询入住记录列表
     *
     * @param hotelCheckHouseRecord 入住记录
     * @return 入住记录集合
     */
    public List<HotelCheckHouseRecord> selectHotelCheckHouseRecordList(HotelCheckHouseRecord hotelCheckHouseRecord);

    /**
     * 新增入住记录
     *
     * @param hotelCheckHouseRecord 入住记录
     * @return 结果
     */
    public int insertHotelCheckHouseRecord(HotelCheckHouseRecord hotelCheckHouseRecord);

    /**
     * 修改入住记录
     *
     * @param hotelCheckHouseRecord 入住记录
     * @return 结果
     */
    public int updateHotelCheckHouseRecord(HotelCheckHouseRecord hotelCheckHouseRecord);

    /**
     * 批量删除入住记录
     *
     * @param recordIds 需要删除的入住记录主键集合
     * @return 结果
     */
    public int deleteHotelCheckHouseRecordByRecordIds(Long[] recordIds);

    /**
     * 删除入住记录信息
     *
     * @param recordId 入住记录主键
     * @return 结果
     */
    public int deleteHotelCheckHouseRecordByRecordId(Long recordId);

    int checkInRegister(HotelCheckRecord hotelCheckRecord);

    HotelCheckRecord checkInDetail(Long houseId);

    int confirmCheckOut(Long houseId,Long userId);

    int addCheckInPeople(HotelCheckRecord hotelCheckRecord);

    int deleteCheckInPeople(DeleteHotelCheckRecord deleteHotelCheckRecord);

}
